package com.xingchi.tornado.storage.core.enums;

import com.xingchi.tornado.basic.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 平台类型枚举
 *
 * @author xingchi
 * @date 2024/5/3 19:52
 */
@Getter
@AllArgsConstructor
public enum PlatformTypeEnum implements BaseEnum {

    /**
     * 本地存储，默认
     */
    LOCAL(1, "本地"),

    /**
     * minio 分布式文件存储
     */
    MINIO(2, "MinIO"),

    /**
     * 阿里云OSS对象存储
     */
    ALIYUN(3, "阿里云OSS"),

    ;
    private final Integer code;
    private final String description;

}
